xl: allow parsing of both old and new cpuid syntax
authorAndre Przywara <andre.przywara@amd.com>
Fri, 1 Oct 2010 16:22:40 +0000 (17:22 +0100)
committerAndre Przywara <andre.przywara@amd.com>
Fri, 1 Oct 2010 16:22:40 +0000 (17:22 +0100)
commit5dfe0a4e91f94c4a43f1eb8d7e549661b1ccc278
treed8b7ac7792e75f51919a9449ee156ef5a3b04616
parent485fb4cf492812a161af377d28c32d2be44f8eec
xl: allow parsing of both old and new cpuid syntax

Allow parsing of both versions of the cpuid syntax, the old xm used one
and the new one for xl. This works automatically, as the parser can tell
a Python list apart from a string before processing the line.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/xl_cmdimpl.c